package com.nd.qa.shareplate.IDao;

import java.util.HashMap;
import java.util.List;

import com.nd.qa.shareplate.model.User;

/**
 * 查询用户信息
 * @author huangjian
 * @date 2015-08-27 下午 15:48:48
 */
public interface LoginMapper {

	/**
	 * 查询用户信息
	 * @param userId
	 * @return
	 */
	public HashMap<String, Object> queryUserById(HashMap<String, Object> param);
	/**
	 * 查询菜单信息
	 * @return
	 */
	public List<HashMap<String, Object>> queryHeaderMenuFunction();
	/**
	 * 查询用户权限信息
	 * @return
	 * @throws Exception
	 */
	public List<HashMap<String,Object>> queryUserRoleById(HashMap<String, Object> map) throws Exception;
	/**
	 * 查询用户权限
	 * @param userId
	 * @return
	 * @throws Exception
	 */
	public List<HashMap<String,Object>> queryUserAuthority(String userId) throws Exception;
}
